package com.sun.project.model;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("zt_project")
public class ProjectModel {

  @TableId
  private String id;

  @TableField("project")
  private long project;

  //项目管理方式
  @TableField("model")
  private String model;

  @TableField("type")
  private String type;

  @TableField("lifetime")
  private String lifetime;

  //预算
  @TableField("budget")
  private String budget;

  //货币单位
  @TableField("budgetUnit")
  private String budgetUnit;

  @TableField("attribute")
  private String attribute;

  @TableField("percent")
  private double percent;

  @TableField("milestone")
  private String milestone;

  @TableField("output")
  private String output;

  @TableField("auth")
  private String auth;

  //项目所在集
  @TableField("parent")
  private String parent;

  @TableField("path")
  private String path;

  @TableField("grade")
  private long grade;

  //项目名称
  @TableField("name")
  private String name;

  //项目代号
  @TableField("code")
  private String code;

  //项目类型
  @TableField("hasProduct")
  private long hasProduct;

  //计划时间起
  @TableField("begin")
  private Date begin;

  //计划时间止
  @TableField("end")
  private Date end;

  @TableField("realBegan")
  private Date realBegan;

  @TableField("realEnd")
  private Date realEnd;

  @TableField("days")
  private long days;

  @TableField("status")
  private String status;

  @TableField("subStatus")
  private String subStatus;

  @TableField("pri")
  private String pri;

  @TableField("`desc`")
  private String desc;

  @TableField("`version`")
  private long version;

  @TableField("parentVersion")
  private long parentVersion;

  @TableField("planDuration")
  private long planDuration;

  @TableField("realDuration")
  private long realDuration;

  @TableField("openedBy")
  private String openedBy;

  @TableField("openedDate")
  private Date openedDate;

  @TableField("openedVersion")
  private String openedVersion;

  @TableField("lastEditedBy")
  private String lastEditedBy;

  @TableField("lastEditedDate")
  private Date lastEditedDate;

  @TableField("closedBy")
  private String closedBy;

  @TableField("closedDate")
  private Date closedDate;

  @TableField("canceledBy")
  private String canceledBy;

  @TableField("canceledDate")
  private Date canceledDate;

  @TableField("suspendedDate")
  private Date suspendedDate;


  @TableField("po")
  private String po;

  //负责人
  @TableField("pm")
  private String pm;

  @TableField("qd")
  private String qd;

  @TableField("rd")
  private String rd;

  @TableField("team")
  private String team;

  //访问控制
  @TableField("acl")
  private String acl;

  @TableField("whitelist")
  private String whitelist;

  @TableField("`order`")
  private long order;

  @TableField("`vision`")
  private String vision;

  //迭代
  @TableField("division")
  private String division;

  @TableField("displayCards")
  private long displayCards;

  @TableField("fluidBoard")
  private String fluidBoard;

  @TableField("multiple")
  private String multiple;

  @TableField("colWidth")
  private long colWidth;

  @TableField("minColWidth")
  private long minColWidth;

  @TableField("maxColWidth")
  private long maxColWidth;

  @TableField("deleted")
  private String deleted;






  /*************查询参数***************/

  @TableField(exist = false)
  private  Integer  currentPage;//当前页

  @TableField(exist = false)
  private  Integer  pageSize;//页大小


  @TableField(exist = false)
  private  String  sortOrder;//排序方式

  @TableField(exist = false)
  private  String  nameOrder;//排序字段

  @TableField(exist = false)
  private  String  product;//关联产品

}
